<div class="summernote">
  <textarea></textarea>
  <nav class="contextmenu" contextmenu=".note-editing-area" cm-callback="editor.contextmenu">
    <ul class="dropdown-menu" style="min-width:250px">
      <li><button class="btn btn-default" ng-disabled="!editor.undo.enabled" ng-click="editor.undo.click()">
          <i class="fa fa-undo pull-left"></i> 撤销 <span class="pull-right">Ctrl+Z</span></button></li>
      <li><button class="btn btn-default" ng-disabled="!editor.redo.enabled" ng-click="editor.redo.click()">
          <i class="fa fa-repeat pull-left"></i> 重做 <span class="pull-right">Ctrl+Y</span></button></li>
      <li class="divider"></li>
      <li><button class="btn btn-default" ng-disabled="!editor.cut.enabled" ng-click="editor.cut.click()">
          <i class="fa fa-cut pull-left"></i> 剪切 <span class="pull-right">Ctrl+X</span></button></li>
      <li><button class="btn btn-default" ng-disabled="!editor.copy.enabled" ng-click="editor.copy.click()">
          <i class="fa fa-copy pull-left"></i> 复制 <span class="pull-right">Ctrl+C</span></button></li>
      <li><button class="btn btn-default" ng-disabled="!editor.paste.enabled" ng-click="editor.paste.click()">
          <i class="fa fa-paste pull-left"></i> 粘贴 <span class="pull-right">Ctrl+V</span></button></li>
      <li class="divider"></li>
      <li class="dropdown-submenu hover">
        <button class="btn btn-default"><i class="fa fa-magic pull-left"></i> 格式化</button>
        <ul class="dropdown-menu" style="min-width:240px">
          <li><button class="btn btn-default" ng-click="editor.format.bold.click()">
              <i class="fa fa-bold pull-left"></i> 粗体 <span class="pull-right">Ctrl+B</span></button></li>
          <li><button class="btn btn-default" ng-click="editor.format.italic.click()">
              <i class="fa fa-italic pull-left"></i> 斜体 <span class="pull-right">Ctrl+I</span></button></li>
          <li><button class="btn btn-default" ng-click="editor.format.underline.click()">
              <i class="fa fa-underline pull-left"></i> 下划线 <span class="pull-right">Ctrl+U</span></button></li>
          <li><button class="btn btn-default" ng-click="editor.format.strikethrough.click()">
              <i class="fa fa-strikethrough pull-left"></i> 删除线 <span class="pull-right">Ctrl+Shift+S</span></button></li>
          <li class="divider"></li>
          <li><button class="btn btn-default" ng-click="editor.format.justifyLeft.click()">
              <i class="fa fa-align-left pull-left"></i> 左对齐 <span class="pull-right">Ctrl+Shift+L</span></button></li>
          <li><button class="btn btn-default" ng-click="editor.format.justifyCenter.click()">
              <i class="fa fa-align-center pull-left"></i> 居中对齐 <span class="pull-right">Ctrl+Shift+E</span></button></li>
          <li><button class="btn btn-default" ng-click="editor.format.justifyRight.click()">
              <i class="fa fa-align-right pull-left"></i> 右对齐 <span class="pull-right">Ctrl+Shift+R</span></button></li>
          <li><button class="btn btn-default" ng-click="editor.format.justifyFull.click()">
              <i class="fa fa-align-justify pull-left"></i> 两端对齐 <span class="pull-right">Ctrl+Shift+J</span></button></li>
          <li class="divider"></li>
          <li><button class="btn btn-default" ng-click="editor.format.indent.click()">
              <i class="fa fa-indent pull-left"></i> 缩进</button></li>
          <li><button class="btn btn-default" ng-click="editor.format.outdent.click()">
              <i class="fa fa-outdent pull-left"></i> 减少缩进</button></li>
          <li class="divider"></li>
          <li><button class="btn btn-default" ng-click="editor.format.superscript.click()">
              <i class="fa fa-superscript pull-left"></i> 上标</button></li>
          <li><button class="btn btn-default" ng-click="editor.format.subscript.click()">
              <i class="fa fa-subscript pull-left"></i> 下标</button></li>
        </ul>
      </li>
      <li><button class="btn btn-default" ng-click="editor.clear.click()">
          <i class="fa fa-eraser pull-left"></i> 清除格式</button></li>
      <li class="divider"></li>
      <li><button class="btn btn-default" ng-disabled="!editor.save.enabled" ng-click="editor.save.click()">
          <i class="fa fa-save pull-left"></i> 保存 <span class="pull-right">Ctrl+S</span></button></li>
    </ul>
  </nav>
</div>
